package com.wing.purchase.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.purchase.model.entity.PurchaseStorageWorkProduct;
import com.wing.purchase.model.request.PurchaseStorageWorkProductForm;
import com.wing.purchase.model.response.PurchaseStorageWorkProductVO;

import java.util.List;
import java.util.Map;

/**
 * 采购入库作业产品-Service
 *
 * @author
 */
public interface PurchaseStorageWorkProductService extends IService<PurchaseStorageWorkProduct> {

    /**
     * 添加
     *
     * @param purchaseStorageWorkProductForm
     * @return
     */
    int add(PurchaseStorageWorkProductForm purchaseStorageWorkProductForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<PurchaseStorageWorkProductVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<PurchaseStorageWorkProductVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    PurchaseStorageWorkProductVO get4appById(Long id);
}
